package com.flyco.modules.stm.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.flyco.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 申请明细表
 * @Author: flyco
 * @Date:   2023-06-21
 * @Version: V1.0
 */
@Data
@TableName("stm_channel_product_apply_item")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="stm_channel_product_apply_item对象", description="申请明细表")
public class StmChannelProductApplyItem {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Integer id;
	/**申请Id*/
	@Excel(name = "申请Id", width = 15)
    @ApiModelProperty(value = "申请Id")
	private Integer applyId;
	/**渠道Id*/
	@Excel(name = "渠道Id", width = 15)
    @ApiModelProperty(value = "渠道Id")
	private Integer channelId;
	/**货号*/
	@Excel(name = "货号", width = 15)
    @ApiModelProperty(value = "货号")
	private String productSn;
	/**sku编码*/
	@Excel(name = "物料编码", width = 15)
    @ApiModelProperty(value = "物料编码")
	private String skuCode;
	/**渠道价格*/
	@Excel(name = "价格", width = 15)
    @ApiModelProperty(value = "渠道价格")
	private java.math.BigDecimal price;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
	private String productName;
	/**生效日期*/
	@Excel(name = "生效日期", width = 20, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "生效日期")
	private Date beginTime;
	/**1 供应链审核  2 财务审核  3 审核通过*/
	@Excel(name = "1 供应链审核  2 财务审核  3 审核通过", width = 15)
    @ApiModelProperty(value = "1 供应链审核  2 财务审核  3 审核通过")
	private Integer status;
}
